home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 73 70 72 69 6e |Path: ne|ws.sprin|
|00000010| 74 6c 69 6e 6b 2e 6e 65 | 74 21 64 61 74 61 6c 79 |tlink.ne|t!dataly|
|00000020| 74 69 63 73 21 6e 65 77 | 73 0a 46 72 6f 6d 3a 20 |tics!new|s.From: |
|00000030| 52 6f 62 20 53 74 65 77 | 61 72 74 20 3c 73 74 65 |Rob Stew|art <ste|
|00000040| 77 40 64 61 74 61 6c 79 | 74 69 63 73 2e 63 6f 6d |w@dataly|tics.com|
|00000050| 3e 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 63 6f |>.Newsgr|oups: co|
|00000060| 6d 70 2e 6c 61 6e 67 2e | 63 2b 2b 0a 53 75 62 6a |mp.lang.|c++.Subj|
|00000070| 65 63 74 3a 20 52 65 3a | 20 54 65 6d 70 6c 61 74 |ect: Re:| Templat|
|00000080| 65 20 70 72 6f 62 6c 65 | 6d 20 77 69 74 68 20 56 |e proble|m with V|
|00000090| 69 73 75 61 6c 20 43 2b | 2b 20 32 2e 30 0a 44 61 |isual C+|+ 2.0.Da|
|000000a0| 74 65 3a 20 38 20 4a 61 | 6e 20 31 39 39 36 20 31 |te: 8 Ja|n 1996 1|
|000000b0| 39 3a 30 37 3a 33 35 20 | 47 4d 54 0a 4f 72 67 61 |9:07:35 |GMT.Orga|
|000000c0| 6e 69 7a 61 74 69 6f 6e | 3a 20 44 61 74 61 6c 79 |nization|: Dataly|
|000000d0| 74 69 63 73 2c 20 49 6e | 63 0a 4d 65 73 73 61 67 |tics, In|c.Messag|
|000000e0| 65 2d 49 44 3a 20 3c 34 | 63 72 71 31 6e 24 68 34 |e-ID: <4|crq1n$h4|
|000000f0| 72 40 67 6f 6c 64 2e 64 | 61 74 61 6c 79 74 69 63 |r@gold.d|atalytic|
|00000100| 73 2e 63 6f 6d 3e 0a 52 | 65 66 65 72 65 6e 63 65 |s.com>.R|eference|
|00000110| 73 3a 20 3c 34 63 69 73 | 76 71 24 64 65 74 40 6d |s: <4cis|vq$det@m|
|00000120| 6f 74 68 72 61 2e 77 65 | 73 74 77 6f 72 6c 64 2e |othra.we|stworld.|
|00000130| 63 6f 6d 3e 0a 4e 4e 54 | 50 2d 50 6f 73 74 69 6e |com>.NNT|P-Postin|
|00000140| 67 2d 48 6f 73 74 3a 20 | 70 63 30 37 31 2e 64 61 |g-Host: |pc071.da|
|00000150| 74 61 6c 79 74 69 63 73 | 2e 63 6f 6d 0a 4d 69 6d |talytics|.com.Mim|
|00000160| 65 2d 56 65 72 73 69 6f | 6e 3a 20 31 2e 30 0a 43 |e-Versio|n: 1.0.C|
|00000170| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|00000180| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|00000190| 3d 75 73 2d 61 73 63 69 | 69 0a 43 6f 6e 74 65 6e |=us-asci|i.Conten|
|000001a0| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|000001b0| 69 6e 67 3a 20 37 62 69 | 74 0a 58 2d 4d 61 69 6c |ing: 7bi|t.X-Mail|
|000001c0| 65 72 3a 20 4d 6f 7a 69 | 6c 6c 61 20 31 2e 32 32 |er: Mozi|lla 1.22|
|000001d0| 20 28 57 69 6e 64 6f 77 | 73 3b 20 49 3b 20 33 32 | (Window|s; I; 32|
|000001e0| 62 69 74 29 0a 54 6f 3a | 20 61 72 74 40 6f 73 7a |bit).To:| art@osz|
|000001f0| 2e 63 6f 6d 0a 0a 61 72 | 74 40 6f 73 7a 2e 63 6f |.com..ar|t@osz.co|
|00000200| 6d 20 28 41 72 74 20 53 | 63 68 6c 65 66 73 74 65 |m (Art S|chlefste|
|00000210| 69 6e 29 20 77 72 6f 74 | 65 3a 0a 0a 3e 49 27 6d |in) wrot|e:..>I'm|
|00000220| 20 77 72 69 74 69 6e 67 | 20 61 20 73 6d 61 6c 6c | writing| a small|
|00000230| 20 63 6c 61 73 73 20 62 | 61 73 65 64 20 6f 6e 20 | class b|ased on |
|00000240| 74 65 6d 70 6c 61 74 65 | 73 20 74 68 61 74 20 56 |template|s that V|
|00000250| 69 73 75 61 6c 20 43 2b | 2b 20 32 2e 30 0a 3e 63 |isual C+|+ 2.0.>c|
|00000260| 68 6f 6b 65 73 20 6f 6e | 2e 0a 0a 54 68 61 74 27 |hokes on|...That'|
|00000270| 73 20 6e 6f 74 20 75 6e | 63 6f 6d 6d 6f 6e 2e 0a |s not un|common..|
|00000280| 0a 3e 20 20 48 65 72 65 | 27 73 20 61 20 74 68 65 |.> Here|'s a the|
|00000290| 20 2e 43 50 50 20 66 69 | 6c 65 20 74 68 61 74 20 | .CPP fi|le that |
|000002a0| 49 20 74 72 69 65 64 20 | 74 6f 20 63 6f 6d 70 69 |I tried |to compi|
|000002b0| 6c 65 3a 0a 0a 3e 74 65 | 6d 70 6c 61 74 65 20 3c |le:..>te|mplate <|
|000002c0| 63 6c 61 73 73 20 54 2c | 20 69 6e 74 20 6e 3e 0a |class T,| int n>.|
|000002d0| 3e 63 6c 61 73 73 20 43 | 56 65 63 74 6f 72 0a 3e |>class C|Vector.>|
|000002e0| 09 7b 0a 3e 09 70 75 62 | 6c 69 63 3a 0a 3e 09 54 |.{.>.pub|lic:.>.T|
|000002f0| 20 64 61 74 61 5b 6e 5d | 3b 0a 3e 09 7d 3b 0a 0a | data[n]|;.>.};..|
|00000300| 3e 74 65 6d 70 6c 61 74 | 65 20 3c 63 6c 61 73 73 |>templat|e <class|
|00000310| 20 54 2c 20 69 6e 74 20 | 6e 3e 0a 3e 76 6f 69 64 | T, int |n>.>void|
|00000320| 20 74 65 73 74 28 20 43 | 56 65 63 74 6f 72 3c 54 | test( C|Vector<T|
|00000330| 2c 6e 3e 20 26 76 20 29 | 09 09 2f 2a 20 6c 69 6e |,n> &v )|../* lin|
|00000340| 65 20 31 33 20 2a 2f 0a | 3e 09 7b 0a 3e 09 70 72 |e 13 */.|>.{.>.pr|
|00000350| 69 6e 74 66 28 22 25 66 | 5c 6e 22 2c 20 28 66 6c |intf("%f|\n", (fl|
|00000360| 6f 61 74 29 20 76 2e 64 | 61 74 61 5b 30 5d 29 3b |oat) v.d|ata[0]);|
|00000370| 0a 3e 09 7d 0a 0a 5b 73 | 6e 69 70 5d 0a 0a 3e 57 |.>.}..[s|nip]..>W|
|00000380| 68 65 6e 20 49 20 63 6f | 6d 70 69 6c 65 20 74 68 |hen I co|mpile th|
|00000390| 69 73 20 69 6e 20 56 69 | 73 75 61 6c 20 43 2b 2b |is in Vi|sual C++|
|000003a0| 20 32 2e 2c 20 49 20 67 | 65 74 20 74 68 65 20 66 | 2., I g|et the f|
|000003b0| 6f 6c 6c 6f 77 69 6e 67 | 20 6d 65 73 73 61 67 65 |ollowing| message|
|000003c0| 73 3a 0a 0a 3e 44 3a 5c | 75 73 65 72 73 5c 43 4c |s:..>D:\|users\CL|
|000003d0| 41 55 44 49 4f 5c 76 65 | 63 74 6f 72 5c 76 65 63 |AUDIO\ve|ctor\vec|
|000003e0| 74 6f 72 2e 63 70 70 28 | 31 33 29 20 3a 20 65 72 |tor.cpp(|13) : er|
|000003f0| 72 6f 72 20 43 32 39 37 | 35 3a 20 27 43 56 65 63 |ror C297|5: 'CVec|
|00000400| 74 6f 72 27 20 3a 0a 3e | 69 6e 76 61 6c 69 64 20 |tor' :.>|invalid |
|00000410| 74 65 6d 70 6c 61 74 65 | 20 61 63 74 75 61 6c 20 |template| actual |
|00000420| 61 72 67 75 6d 65 6e 74 | 20 27 23 32 27 2c 20 63 |argument| '#2', c|
|00000430| 6f 6e 73 74 61 6e 74 20 | 65 78 70 72 65 73 73 69 |onstant |expressi|
|00000440| 6f 6e 20 65 78 70 65 63 | 74 65 64 0a 3e 44 3a 5c |on expec|ted.>D:\|
|00000450| 75 73 65 72 73 5c 43 4c | 41 55 44 49 4f 5c 76 65 |users\CL|AUDIO\ve|
|00000460| 63 74 6f 72 5c 76 65 63 | 74 6f 72 2e 63 70 70 28 |ctor\vec|tor.cpp(|
|00000470| 31 36 29 20 3a 20 65 72 | 72 6f 72 20 43 32 39 39 |16) : er|ror C299|
|00000480| 37 3a 20 27 74 65 73 74 | 27 20 3a 0a 3e 66 75 6e |7: 'test|' :.>fun|
|00000490| 63 74 69 6f 6e 20 70 61 | 72 61 6d 65 74 65 72 20 |ction pa|rameter |
|000004a0| 6c 69 73 74 20 6d 75 73 | 74 20 75 73 65 20 74 65 |list mus|t use te|
|000004b0| 6d 70 6c 61 74 65 20 66 | 6f 72 6d 61 6c 20 70 61 |mplate f|ormal pa|
|000004c0| 72 61 6d 65 74 65 72 20 | 27 6e 27 0a 0a 3e 54 68 |rameter |'n'..>Th|
|000004d0| 69 73 20 63 6f 64 65 20 | 63 6f 6d 70 69 6c 65 73 |is code |compiles|
|000004e0| 20 66 69 6e 65 20 77 69 | 74 68 20 67 63 63 20 32 | fine wi|th gcc 2|
|000004f0| 2e 36 2e 33 2e 20 20 41 | 6e 79 20 69 64 65 61 73 |.6.3. A|ny ideas|
|00000500| 3f 20 20 49 73 20 74 68 | 69 73 20 61 20 62 75 67 |? Is th|is a bug|
|00000510| 0a 3e 69 6e 20 56 69 73 | 75 61 6c 20 43 2b 2b 3f |.>in Vis|ual C++?|
|00000520| 0a 0a 59 65 73 2e 20 20 | 54 68 65 20 74 65 6d 70 |..Yes. |The temp|
|00000530| 6c 61 74 65 20 6d 65 63 | 68 61 6e 69 73 6d 20 69 |late mec|hanism i|
|00000540| 6e 20 6f 6c 64 65 72 20 | 76 65 72 73 69 6f 6e 73 |n older |versions|
|00000550| 20 6f 66 20 56 43 20 77 | 65 72 65 20 0a 66 61 75 | of VC w|ere .fau|
|00000560| 6c 74 79 20 61 74 20 62 | 65 73 74 20 28 74 68 65 |lty at b|est (the|
|00000570| 20 6e 65 77 65 72 20 76 | 65 72 73 69 6f 6e 73 20 | newer v|ersions |
|00000580| 61 72 65 6e 27 74 20 70 | 65 72 66 65 63 74 20 65 |aren't p|erfect e|
|00000590| 69 74 68 65 72 2c 20 0a | 62 75 74 20 74 68 65 79 |ither, .|but they|
|000005a0| 20 61 72 65 20 62 65 74 | 74 65 72 29 2e 20 20 54 | are bet|ter). T|
|000005b0| 72 79 20 63 72 65 61 74 | 69 6e 67 20 61 20 74 79 |ry creat|ing a ty|
|000005c0| 70 65 64 65 66 20 66 6f | 72 20 0a 43 56 65 63 74 |pedef fo|r .CVect|
|000005d0| 6f 72 3c 66 6c 6f 61 74 | 2c 20 33 3e 20 61 6e 64 |or<float|, 3> and|
|000005e0| 20 75 73 65 20 74 68 61 | 74 20 61 73 20 74 68 65 | use tha|t as the|
|000005f0| 20 70 61 72 61 6d 65 74 | 65 72 20 74 79 70 65 20 | paramet|er type |
|00000600| 66 6f 72 20 74 65 73 74 | 2e 20 20 0a 59 6f 75 72 |for test|. .Your|
|00000610| 20 70 72 6f 62 6c 65 6d | 20 73 68 6f 75 6c 64 20 | problem| should |
|00000620| 67 6f 20 61 77 61 79 2e | 0a 0a 0a 2d 2d 20 0a 52 |go away.|...-- .R|
|00000630| 6f 62 65 72 74 20 53 74 | 65 77 61 72 74 09 09 7c |obert St|ewart..||
|00000640| 20 4d 79 20 6f 70 69 6e | 69 6f 6e 73 20 61 72 65 | My opin|ions are|
|00000650| 20 75 73 75 61 6c 6c 79 | 20 6d 79 20 6f 77 6e 2e | usually| my own.|
|00000660| 0a 44 61 74 61 6c 79 74 | 69 63 73 2c 20 49 6e 63 |.Datalyt|ics, Inc|
|00000670| 2e 0a 28 35 31 33 29 32 | 32 36 2d 37 37 30 30 0a |..(513)2|26-7700.|
|00000680| 73 74 65 77 40 64 61 74 | 61 6c 79 74 69 63 73 2e |stew@dat|alytics.|
|00000690| 63 6f 6d 0a 0a 0a | |com... | |
+--------+-------------------------+-------------------------+--------+--------+